<?php

namespace app\models;

use Yii;
use yii\base\Model;

class RegisterFrom extends Model
{
    /**
     * @return array the validation rules.
     */
     public function rules()
     {
         return [
             [['last_name', 'phone','gender','birthday'], 'required'],
             ['email', 'email'],
             [['birthday'], 'date'],
        
         ];
     }
}